package com.example.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 本类用来演示:
 *
 * @Author 胡英俊
 * @Date 2022/7/24 23:26
 */
@FeignClient(value = "user-service")
public interface MyFeign {
    @GetMapping("info")
    public String getInfo();
}
